	function getAjaxData(passUrl, passData, renderFunction){
		var ajaxData = {
				type:'GET',
				contentType:'application/json',
				url:passUrl,
				dataType:'json',
				data:passData,
				success:function(data){
					renderFunction(data);
				}
			};
		return ajaxData;
	}

	function createAjax(passUrl, passData, renderFunction){
		var ajaxData = getAjaxData(passUrl, passData, renderFunction);
		ajaxData.success = function(data){ renderFunction(data); };
		jQuery.ajax(ajaxData);
	}

	function Map() {   
		var struct = function(key, value) {   
		this.key = key;   
		this.value = value;   
		}

		var put = function(key, value){   
			for (var i = 0; i < this.arr.length; i++) {   
				if ( this.arr[i].key === key ) {   
					this.arr[i].value = value;   
					return;   
				}   
			}   
			this.arr[this.arr.length] = new struct(key, value);   
		}   

		var get = function(key) {   
			for (var i = 0; i < this.arr.length; i++) {   
				if ( this.arr[i].key === key ) {   
					return this.arr[i].value;   
				}   
			}   
			return null;   
		}

		var clean = function(){
			var arryTemp = this.arr;
			for (var i = 0; i < arryTemp.length; i++) {
				var k = arryTemp.pop();
				if(k != null){
					continue;
				}
			}
			return arryTemp;
		}

		this.arr = new Array();   
		this.get = get;   
		this.put = put;
		this.clean = clean;
	}